package com.itheima.sevrice;

import com.itheima.bean.OrderDetail;

import java.util.List;

public interface OrderDetailService {

    /**
     * 添加订单详情表
     * @param orderDetail
     * @return
     */
    int add(OrderDetail orderDetail);

    /**
     * 根据订单id 查询订单菜品
     * @param orderId
     * @return
     */
    List<OrderDetail> findByOrderId(Long orderId);
}
